package xyz.lne.researchgroupmanage.controller.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import xyz.lne.researchgroupmanage.service.dataTransferObject.ResearchGroupSimpleDTO;
import xyz.lne.researchgroupmanage.service.dataTransferObject.ResearchSimpleDTO;
import xyz.lne.researchgroupmanage.service.dataTransferObject.TaskSimpleDTO;

import java.util.Date;
import java.util.List;

/**
 * Designed By Lne.
 * 2021/1/20 12:55
 */
@Data
public class UserResponse {
    //    个人中心 基本信息
    private Integer userId;
    private String account;
    private Integer level;
    private String password;
    private String email;
    private String name;
    private String phoneNumber;
    private Integer sex;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date birthday;
    private String company;
    private String position;
    private String introduction;
    private String userImg;
    //    课题组
    List<ResearchGroupSimpleDTO> researchGroupManageSimpleDTOList;
    List<ResearchGroupSimpleDTO> researchGroupJoinSimpleDTOList;
    //    课题
    List<ResearchSimpleDTO> researchManageSimpleDTOList;
    List<ResearchSimpleDTO> researchJoinSimpleDTOList;
    //    任务
    List<TaskSimpleDTO> taskReleaseSimpleDTOList;
    List<TaskSimpleDTO> taskAcceptSimpleDTOList;
}
